package top.toptimus.dto.order.orderSync.orderCommit.orderConfirm;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 订单索引DTO
 *
 * @author gaoyu
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderStatusSaleIndexDTO {
    private String orderId;
    /**
     * 客户信息
     */
    private String customerId;
    private String customerName;
    private String consignee;   //  收件人
    private String mobile;
    private String addressId;
    private String addressProvince;//省
    private String addressCity;//市
    private String addressDistrict;//区
    private String addressDetail;//详细地址
    private String zipCode;//邮编
    /**
     * 面料信息
     */
    private String materialNameCn;//面料描述名称
    private String materialCode;  //面料号
    private String composition;//面料成分
    /**
     * 款式信息
     */
    private String styleSizeCd;//尺码
    private String styleNameCn;//款式名称
    private String refStyleId;  //  标准款id
    /**
     * 订单信息
     */
    private String orderNo; //  订单号
    private Double quantity;    //  订单数量
    private Date orderDate;//订单时间
    /**
     * 订单状态
     */
    private String orderStatus; //  订单状态    @See top.toptimus.constValue.PMCOrderStatusConsts
    /**
     * 门店信息，也就是订单类别
     */
    private String shopId;
    private String shopName;

    private boolean urgent; //  是否加急
    private boolean toBeConfirm;    //  待确认
    private boolean garmentModify;  //  成衣修改
    private String garmentBarcode; //  成衣条码

    private Double price;
    private Double totalPrice;

    public void build(String orderStatus) {
        this.orderStatus = orderStatus;
    }
}
